<%--
  Created by IntelliJ IDEA.
  User: LXhan
  Date: 2017/12/1
  Time: 14:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%--<link rel="stylesheet" href="../../../static/ucss/hydropower/zTreeStyle.min.css">--%>
    <link rel="stylesheet" href="../../../static/ztree/zTreeStyle/zTreeStyle.css">
    <link rel="stylesheet" href="../../../static/ucss/hydropower/water_table.css">
    <script src="../../../static/js/jquery-1.9.1.min.js"></script>
    <script src="../../../static/ujs/hydropower/jquery.ztree.all.min.js"></script>
    <script src="../../../static/ztree/jquery.ztree.all.min.js"></script>
</head>
<body>
<input type="hidden" id="type" value="${pd.type}">
<input type="hidden" id="buildingId" value="${pd.buildingId}">
<input type="hidden" id="priceId" value="${pd.priceId}">
<div class="content-header">
    <div class="header-label">
        <div class="label-title">${pd.title}</div>
    </div>
    <div class="header-input">
        <input type="text" id="price" placeholder="${pd.tips}" value="${pd.price}">
    </div>
    <div class="header-save">
        <button class="layui-btn" id="save" style="display: inline;">保存</button>
    </div>
    <div class="header-add">
        <button class="layui-btn" data-type="addAmmeter" onclick="add(${pd.addType},0,0)"><i class="layui-icon"></i> ${pd.addTips}
        </button>
    </div>
</div>
<div class="layui-tab-item layui-show">
    <ul id="dataTree" class="ztree">

    </ul>
</div>

<script src="../../../static/ujs/hydropower/water_table.js"></script>
</body>
</html>
